<?php
/**
 * Created by PhpStorm.
 * User: MRPHAN
 * Date: 9/21/2014
 * Time: 10:38 PM
 */
namespace Backend\Modules\Video\Models;
use Common\Models\Videos\Artist as BaseArtist;
class Artist extends BaseArtist{

    public function beforeCreate(){
        if($this->name=='ABC'){
            echo 'Name nay co roi nhe';
        }
    }
}